package cn.crex1.xiaomi.pojo;

import java.util.Date;

/**
 * 分类ID只用户需要什么类型的商品而根据用户的需求进行查找；
 * 
 * @author Administrator 父分类ID是指商品的分类 分类名称：分类对于的商品名字 目录类型=父分类 ；父分类=目录类型；
 *         页面标题：商品的分类什么样的商品类型；
 * 
 */

public class Category {

	private Long category_id; // 分类ID

	private Long parent_id;// 父分类ID

	private String name;// 分类名称

	private Long sort;// 排序

	private Integer type;// 目录类型 2=二级目录/1=一级目录/0=总目录

	private Date create_time;// 创建时间

	private Date update_time;// 更新时间

	private String page_title;// 页面标题

	private String page_description;// 页面描述

	private String page_keyword;// 页面关键词

	private String remarks;// 备注信息

	public Long getCategory_id() {
		return category_id;
	}

	public void setCategory_id(Long category_id) {
		this.category_id = category_id;
	}

	public Long getParent_id() {
		return parent_id;
	}

	public void setParent_id(Long parent_id) {
		this.parent_id = parent_id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Long getSort() {
		return sort;
	}

	public void setSort(Long sort) {
		this.sort = sort;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public Date getCreate_time() {
		return create_time;
	}

	public void setCreate_time(Date create_time) {
		this.create_time = create_time;
	}

	public Date getUpdate_time() {
		return update_time;
	}

	public void setUpdate_time(Date update_time) {
		this.update_time = update_time;
	}

	public String getPage_title() {
		return page_title;
	}

	public void setPage_title(String page_title) {
		this.page_title = page_title;
	}

	public String getPage_description() {
		return page_description;
	}

	public void setPage_description(String page_description) {
		this.page_description = page_description;
	}

	public String getPage_keyword() {
		return page_keyword;
	}

	public void setPage_keyword(String page_keyword) {
		this.page_keyword = page_keyword;
	}

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	@Override
	public String toString() {
		return "Category [category_id=" + category_id + ", parent_id=" + parent_id + ", name=" + name + ", sort=" + sort + ", type=" + type + ", create_time=" + create_time + ", update_time=" + update_time + ", page_title=" + page_title + ", page_description=" + page_description + ", page_keyword=" + page_keyword + ", remarks=" + remarks + "]";
	}

}
